@@ -108,8 +108,8 @@ group :development, :test do |
||
108 | 108 |
gem 'delorean' |
109 | 109 |
gem 'webmock', '~> 1.17.4', require: false |
110 | 110 |
gem 'coveralls', require: false |
111 |
- gem 'spring' |
|
112 |
- gem 'spring-commands-rspec' |
|
111 |
+ # gem 'spring' |
|
112 |
+ # gem 'spring-commands-rspec' |
|
113 | 113 |
end |
114 | 114 |
|
115 | 115 |
group :production do |
@@ -317,9 +317,6 @@ GEM |
||
317 | 317 |
slop (3.6.0) |
318 | 318 |
spectrum-rails (1.3.4) |
319 | 319 |
railties (>= 3.1) |
320 |
- spring (1.1.3) |
|
321 |
- spring-commands-rspec (1.0.2) |
|
322 |
- spring (>= 0.9.1) |
|
323 | 320 |
sprockets (2.11.0) |
324 | 321 |
hike (~> 1.2) |
325 | 322 |
multi_json (~> 1.0) |
@@ -450,8 +447,6 @@ DEPENDENCIES |
||
450 | 447 |
shoulda-matchers |
451 | 448 |
slack-notifier (~> 0.5.0) |
452 | 449 |
spectrum-rails |
453 |
- spring |
|
454 |
- spring-commands-rspec |
|
455 | 450 |
therubyracer (~> 0.12.1) |
456 | 451 |
twilio-ruby (~> 3.11.5) |
457 | 452 |
twitter (~> 5.8.0) |
@@ -34,6 +34,23 @@ module Agents |
||
34 | 34 |
} |
35 | 35 |
end |
36 | 36 |
|
37 |
+ event_description <<-MD |
|
38 |
+ Events look like: |
|
39 |
+ |
|
40 |
+ { |
|
41 |
+ "id": "829f845279611d7925146725317b868d", |
|
42 |
+ "date_published": "2014-09-11 01:30:00 -0700", |
|
43 |
+ "last_updated": "Thu, 11 Sep 2014 01:30:00 -0700", |
|
44 |
+ "urls": [ "http://example.com/..." ], |
|
45 |
+ "description": "Some description", |
|
46 |
+ "content": "Some content", |
|
47 |
+ "title": "Some title", |
|
48 |
+ "authors": [ ... ], |
|
49 |
+ "categories": [ ... ] |
|
50 |
+ } |
|
51 |
+ |
|
52 |
+ MD |
|
53 |
+ |
|
37 | 54 |
def working? |
38 | 55 |
event_created_within?((interpolated['expected_update_period_in_days'].presence || 10).to_i) && !recent_error_logs? |
39 | 56 |
end |